<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<%@ taglib prefix="s" uri="/struts-tags"%>
<%@ taglib prefix="sj" uri="/struts-jquery-tags"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
<link rel="stylesheet" type="text/css" href="../css/form.css" />
<sj:head jqueryui="true" jquerytheme="cupertino" />
<title>Thêm mới nhân viên</title>
</head>
<body>
<div id="addEmpl" align="center">
<fieldset style="width: 95%;"><legend style="">Nhập
thông tin nhân viên</legend> <s:form id="edit" method="post">
	<table align="left">
		<tr>
			<td class="label"><s:textfield label="Tên đăng nhập"
				cssClass="smallInput wide" name="account.userName" /></td>
		</tr>
		<tr>
			<td class="label"><s:textfield label="Họ và tên"
				cssClass="smallInput wide"
				name="account.accountInformation.fullName" /></td>
		</tr>
		<tr>
			<td class="label"><sj:datepicker label="Ngày sinh"
				readonly="true" cssClass="smallInput wide"
				name="account.accountInformation.birthDate" /></td>
		</tr>
		<tr>
			<td class="label"><s:select
				name="account.accountInformation.city.cityID"
				list="listCity" listKey="cityID" listValue="cityName"
				label="Thành phố" cssClass="smallInput wide" headerKey="0"
				headerValue="-- Chọn thành phố --" /></td>
		</tr>
		<tr>
			<td class="label"><s:textfield label="Địa chỉ"
				cssClass="smallInput wide"
				name="account.accountInformation.address" /></td>
		</tr>
		<tr>
			<td class="label"><s:textfield label="Email"
				cssClass="smallInput wide"
				name="account.accountInformation.email" /></td>
		</tr>
		<tr>
			<td class="label"><s:textfield label="Di động"
				cssClass="smallInput wide"
				name="account.accountInformation.telephone" /></td>
		</tr>
		<tr>
			<td class="label"><s:textfield label="Điện thoại nhà"
				cssClass="smallInput wide"
				name="account.accountInformation.homePhone" /></td>
		</tr>
		<tr>
			<td class="label"><s:select
				name="account.employee.department.departmentID" list="listdepmt"
				listKey="departmentID" listValue="departmentName" label="Chức vụ"
				cssClass="smallInput wide" headerKey="0"
				headerValue="-- Chọn chức vụ --" /></td>
		</tr>
	</table>
	<div align="left">
<s:url id="Manager_addEmpl"
	value="/Manager_addEmpl" /> 
	<sj:submit title="Thêm mới nhân viên"
	id="lnkManager_addEmpl" href="%{Manager_addEmpl}" targets="addEmpl"
	button="true" buttonIcon="new" cssStyle=" margin-left:400px;" value="Thêm mới">
    </sj:submit>
</div>
	<!-- BUTTONS -->
</s:form></fieldset>
</div>
</body>
</html>